<?php
/**
 * @Author: Awe
 * @Date:   2018-10-19 11:24:44
 * @Last Modified by:   Awe
 * @Last Modified time: 2019-03-25 13:19:29
 * @desc 后台导航文件
 * 备注 其中 modular 这个节点主要是保存数据库的
 * href 这个节点主要是访问使用 【请注意 一般这个地址也是和模块这个是一样的】
*/
return array(
    array(
        'name' => "模块",
        'icon_class' => "layui-icon layui-icon-app",
        'tips' => "模块",
        'modular'=>"userManager",
        'child' => array(
            /*array(
                'name' => "平台用户", 
                'href' => Common::U('User_User/index'),
                'modular'=>"user/index",
                'function_node'=>array(//功能节点
                    array('name' => "修改用户" , "href" =>Common::U("user/editUser" )  ,'modular'=>"user/editUser" ),
                ),
            ),*/
            array(
                'name' => "订单管理", 
                'href' => Common::U('Order_Order/index'),
                'modular'=>"Order_Order/index",
                'function_node'=>array(//功能节点
                    //array('name' => "修改用户" , "href" =>Common::U("user/editUser" )  ,'modular'=>"user/editUser" ),
                ),
            ),
            /*array(
                'name' => "代理商", 
                'href' => "",
                'modular'=>"agentManager",
                'child' => array(
                    array(
                        'name' => "代理商列表", 
                        'href' => Common::U('Agent_Agent/index'),
                        'modular'=>"Agent_Agent/index",
                        'function_node'=>array(//功能节点
                            array('name' => "添加代理商" , "href" =>Common::U("Agent_Agent/add" )  ,'modular'=>"Agent_Agent/add" ),
                            array('name' => "修改代理商" , "href" =>Common::U("Agent_Agent/edit" )  ,'modular'=>"Agent_Agent/edit" ),
                        ),
                    ),
                    array(
                        'name' => "代理商统计", 
                        'href' => Common::U('Agent_statis/index'),
                        'modular'=>"Agent_statis/index",
                        'function_node'=>array(//功能节点
                            array('name' => "aaa" , "href" =>Common::U("Agent_Agent/cccc" )  ,'modular'=>"Agent_Agent/cccc" ),
                        ),
                    ),
                ),
                
            ),*/
        ),
    ),
/*    array(
        'name' => "设置",
        'icon_class' => "layui-icon layui-icon-set",
        'tips' => "设置",
        'modular'=>"settingManager",
        'child' => array(
            array(
                'name' => "后台用户", 
                'href' => Common::U("admin/user" ),
                'modular'=>"admin/user",
                'function_node'=>array(//功能节点
                    array('name' => "添加后台用户" , "href" =>Common::U("admin/userAdd" )  ,'modular'=>"admin/userAdd" ),
                    array('name' => "修改后台用户" , "href" =>Common::U("admin/userEdit" ) ,'modular'=>"admin/userEdit" ),
                    array('name' => "后台用户删除" , "href" =>Common::U("admin/userDel" ) ,'modular'=>"admin/userDel" ),
                ),
            ),
            array(
                'name' => "角色管理", 
                'href' => Common::U("admin/role" ),
                'modular'=>"admin/role",
                'function_node' => array(
                    array('name' => "添加角色" , "href" =>Common::U("admin/addRole" )  ,'modular'=>"admin/addRole"),
                    array('name' => "修改角色" , "href" =>Common::U("admin/editRole" )   ,'modular'=>"admin/editRole"),
                ),
            ),
            array(
                'name' => "清除缓存", 
                'href' => Common::U('cache/index'),
                'modular'=>"cache/index",
                'function_node'=>array(//功能节点
                   
                ),
            ),
            array(
                'name' => "系统设置", 
                'href' => Common::U('System_Config/index'),
                'modular'=>"System_Config/index",
                'function_node'=>array(//功能节点
                   array('name' => "添加环境变量" , "href" =>Common::U("System_Config/add" )  ,'modular'=>"System_Config/add"),
                    array('name' => "修改环境变量" , "href" =>Common::U("System_Config/update" )  ,'modular'=>"System_Config/update"),
                    array('name' => "删除环境变量" , "href" =>Common::U("System_Config/delete" )  ,'modular'=>"System_Config/delete"),
                ),
            ),
        ),
    ),  */  
);
